<extend name="Public/Dialog/Common"/>
<block name="pageContent">
    <div class="bjui-pageContent">
        <form action="__ACTION__" class="pageForm" data-toggle="validate" method="post" id="from">
            <!-- 菜单id号 -->
            <input type="hidden" name="id" value="{:I('get.id')}">
            <table class="table table-condensed table-hover">
                <tbody>
                <tr>
                    <td colspan="2" align="center">
                        <h3 >我的答案</h3>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="control-label x90">内容：</label>

                        <textarea style="height: 90px;" name="content">{$answer[0].content}</textarea>

                        <br>
                        <p  onclick="sub()" style="cursor: pointer;line-height:30px;margin-left: 150px;margin-top: 20px;width: 50px;height: 30px;text-align: center;border:solid 1px #aaa;">提交</p>
                        <!--<p  style="margin-left: 150px;margin-top: 20px;"><input type="submit" value="提交"></p>-->
                    </td>
                </tr>

                </tbody>
            </table>
        </form>
    </div>
    <script>
        function sub() {
            var id="{:I('get.id')}";
            console.log(id);
            $('#from').submit();
           // window.location.href='/admin.php?s=/Ask/index/navTabId/Menu167.html';

        }
    </script>
</block>
<block name="pageFooter"></block>